package com.yaoayao.mall.payment.client;

import com.yaoayao.mall.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author: peiyao
 * @date: 2024/4/21 18:02
 * @description:
 */
@FeignClient(name = "service-payment")
public interface PaymentFeignClient {

    @GetMapping("/api/payment/alipay/closePayment")
    public void closePayment(@PathVariable Long orderId);
}
